﻿using System.ComponentModel;
using System.Runtime.Serialization;

namespace SlamDunk.ValueObjects.Enums
{
    /// <summary>
    /// 表单模式
    /// </summary>
    [DataContract]
    public enum FormMode
    {
        /// <summary>
        /// 预定义
        /// </summary>
        [EnumMember]
        [Description("预定义")]
        PreDefined = 0,

        /// <summary>
        /// 自定义
        /// </summary>
        [EnumMember]
        [Description("自定义")]
        UserDefined = 1,

        /// <summary>
        /// 复合
        /// </summary>
        [EnumMember]
        [Description("复合")]
        Complex = 2,

        /// <summary>
        /// 无
        /// </summary>
        [EnumMember]
        [Description("无")]
        None = 3
    }
}
